package com.cos.shop.dao;

import com.cos.shop.entity.Orders;
import com.cos.shop.entity.vo.OrdersVO;

import java.sql.SQLException;
import java.util.List;

public interface OrdersDao {
    int addOrders(Orders orders)throws SQLException;

    List<OrdersVO> getAllByUid(int uid)throws SQLException;

    OrdersVO getOrdersByOid(String oid)throws SQLException;

    int changeStatus(String oid, int encomment)throws SQLException ;
}
